#include<iostream>
using namespace std;
int main(){
    int A , B;
    double C;
    cin >> A >> B;
    C = A*1.0 / B*1.0;
    if(B > 0){
        printf("%d/%d=%.2lf\n",A,B,C);
    }
    if(B < 0){
        printf("%d/(%d)=%.2lf\n",A,B,C);
    }
    if(B == 0){
        cout << A <<"/" << B << "=" << "Error"<<endl;
    }
    return 0;
}